package dao;

import entities.UserJdo;

import java.sql.Date;
import java.util.List;

public interface UserDAO {

    public void addUser(UserJdo user);
    public void removeUser(UserJdo user);
    public void updateUser(Long userId, UserJdo user);
    public List<UserJdo> getUserById(Long userId);
    public List<UserJdo> getUsersByCompanyId(Long companyId);
    public List<UserJdo> getUsersByGroupId(Long groupId);
    public List<UserJdo> getUsersByDateRegistered(Date dateRegistered);
    public List<UserJdo> getUsersRegisteredInPeriod(Date startDate, Date endDate);

}
